package com.example.demojenkins.service.impl;

import com.example.demojenkins.entity.Tblconsumer;
import com.example.demojenkins.mapper.TblconsumerMapper;
import com.example.demojenkins.service.ConsumerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ConsumerServiceImpl implements ConsumerService {

    @Autowired
    private TblconsumerMapper tblconsumerMapper;
    @Override
    public List<Tblconsumer> findJustList() {
        return tblconsumerMapper.findJustList();
    }

    @Override
    public Tblconsumer findJust(Integer id) {
        return tblconsumerMapper.findJust(id);
    }

    @Override
    public int insert(Tblconsumer just) {
        return 0;
    }
}
